﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Legazpi.Payroll.DataAccess.DataObjects;

namespace Legazpi.Payroll.BusinessLogic.Services.Interfaces
{
    public interface IGlobalAdjustmentService
    {
        GlobalAdjustment GetById(int id);
        IEnumerable<GlobalAdjustment> GetAll();
        IEnumerable<GlobalAdjustment> Get();
        IEnumerable<GlobalAdjustment> GetListByPayperiod(int payPeriodId);

        void Add(GlobalAdjustment globalAdjustment);
        void Update(GlobalAdjustment globalAdjustment);
        void Delete(int id);
        bool Save();
    }
}
